package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdCouponsuser;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 用户领取的优惠券
 */
@Mapper
@Repository
public interface TdCouponsuserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdCouponsuser record);

    int insertSelective(TdCouponsuser record);

    TdCouponsuser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdCouponsuser record);

    int updateByPrimaryKey(TdCouponsuser record);
}